import axios from "@/util/request.js";
import base from '../base.js'

export const user = {
  login: (data) => axios.post(`${base.baseUrl}/user/login`, data), // 登录
  register: (data) => axios.post(`${base.baseUrl}/user/register`, data), // 注册
}

